﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProjectStore30032013.PRESENTATION
{
    public partial class frmCustomer : Form
    {
        public frmCustomer()
        {
            InitializeComponent();
        }

        private void frmCustomer_Load(object sender, EventArgs e)
        {
            LoadData(); 
        }

        private void LoadData()
        {
            //DataCSQLDataContext dataContext = new DataCSQLDataContext();
            //var lstCustomr = from d in dataContext.Customers
            //                 select new {d.CustomerID, d.CompanyName, d.Address, "trang", ng 

        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmCustomerAdd ad = new frmCustomerAdd();
            ad.ShowDialog();
        }
        
    }
}
